Skip to content

fix(joex): migrate office conversion defaults to unoserver - #3347

Open
tiborrr wants to merge 1 commit into
eikek:masterfrom
tiborrr:fix/unoserver-office-conversion
Open

fix(joex): migrate office conversion defaults to unoserver#3347
tiborrr wants to merge 1 commit into
eikek:masterfrom
tiborrr:fix/unoserver-office-conversion

Conversation

@tiborrr

@tiborrr tiborrr commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Breaking

Custom / non-Docker installs that used unoconv -l must start unoserver instead and provide unoconvert on PATH. Official Docker changes are in a companion PR on docspell/docker.

Test plan

  • Review defaults in reference.conf
  • With unoserver running, office→PDF conversion still works
  • With scheduler.pool-size > 1, multiple .xlsx uploads convert without wedging joex
  • Companion docker image PR starts unoserver and waits for unoping

Related: #3345 #3293

Made with Cursor

Switch the default convert command from deprecated unoconv to
unoconvert so joex works with a unoserver daemon that queues
concurrent LibreOffice converts (eikek#3345).

Co-authored-by: Cursor <cursoragent@cursor.com>
@mergify

mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@tiborrr

tiborrr commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Companion docker PR: docspell/docker#44

@tiborrr

tiborrr commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Put on hold due to discussion in docspell/docker#44. @eikek do you agree it would be better to host unoserver on the joex instance?

@eikek

eikek commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Hi @tiborrr thank you for your efforts! I'm not very sure what is meant to "host unoserver on the joex instance". I checked docspell/docker#44 and also agree that it is currently not e nice solution (famous quick temporary thing :)). So my personal preference would be to have some basic command that is possible to "just call" as a simple default and have all that unoserver stuff (as a better conversion alternative) implemented out of band. Sometimes a sidecar container might do it or on linux a systemd service can be used to maintain unoserver…. Then the command can be adopted in the config accordingly. I'm also fine disabling this feature and document the steps to make it work. Of course, the docker repo can provide it out of the box. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants